const express = require('express')
const router = express.Router()


const taskService = require('../service/taskService')

//添加任务
router.post('/addTask', taskService.addTask)
router.get('/getAllTask', taskService.getAllTask)
router.post('/updateTask', taskService.updateTask)
router.post('/deleteTask', taskService.deleteTask)
router.post('/getMyReleaseTask', taskService.getMyReleaseTask)
router.post('/getMyAcceptTask', taskService.getMyAcceptTask)
router.post('/getMyDoneTask', taskService.getMyDoneTask)

module.exports = router
